package com.study.dubbo.original;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Hello world!
 */
public class ConsumerApp {
    public static void main(String[] args) {

        ApplicationContext context =
                new ClassPathXmlApplicationContext("classpath:application.xml");
        ILoginService bean = context.getBean(ILoginService.class);

        String admin = bean.login("admin", "123456");
        System.out.println("Hello World!"+admin);
    }
}
